/*
  Copyright 2009 Smart Enterprise Solution Corp.
  Email: contact@ses.vn - Website: http://www.ses.vn
  KimNgan Project.
*/
using System;
using System.Data;
using System.Configuration;
using System.Collections;

using DOAN.DAL;
using DOAN.DO;
/// <summary>
/// Summary description for BailamBL
/// </summary>
namespace DOAN.BL 
{
    public class BailamBL 
    {
    	#region Private Variables
		BailamDAL objBailamDAL;
		#endregion
		
        #region Public Constructors
        public BailamBL()
        {
            //
            // TODO: Add constructor logic here
            //
            objBailamDAL=new BailamDAL();
        }
        #endregion       

        #region Public Methods
        public int Insert(BailamDO objBailamDO)
        {
            return objBailamDAL.Insert(objBailamDO);
        }

        public int Update(BailamDO objBailamDO)
        {
             return objBailamDAL.Update(objBailamDO);

        }

        public int Delete(BailamDO objBailamDO)
        {
             return objBailamDAL.Delete(objBailamDO);

        }

         public int DeleteAll()
        {
             return objBailamDAL.DeleteAll();
        }

        public BailamDO Select(BailamDO objBailamDO)
        {
            return objBailamDAL.Select(objBailamDO);
        }

        public ArrayList SelectAll1( )
        {
         return objBailamDAL.SelectAll1();
        }
        
        public DataTable SelectAll( )
        {
         return objBailamDAL.SelectAll();
        }


     
#endregion          

        public DataTable GetByMonAndNgay(string mamon,string lop, string dat)
        {
            return objBailamDAL.GetByMonAndNgay(mamon,lop, dat);
        }
    
    }

}
